.errorModal {
    display: none; /* Скрыть модальное окно по умолчанию */
    position: fixed; /* Фиксированное положение */
    z-index: 30; /* Выше остальных элементов */
    left: 0;
    top: 0;
    width: 100%; /* На весь экран */
    height: 100%;
    background-color: rgb(0,0,0); /* Цвет фона */
    background-color: rgba(0,0,0,0.4); /* Половинная прозрачность черного цвета */
}

.errorcontentModal {
    background-color: #fefefe;
    margin: 15% auto; /* Центрирование */
    padding: 5px;
    border: 1px solid #888;
    border-radius: 1rem;
    width: 35%; /* Ширина модального окна */
    height: 10%;
}

/* Кнопка введите фио персоны когда на ней курсор*/
.closealert:hover, .closealert:focus {
    border: 2px solid black;
    text-decoration: none;
    cursor: pointer;
}


.Modalalert {
    display: none; /* Скрыть модальное окно по умолчанию */
    position: fixed; /* Фиксированное положение */
    z-index: 30; /* Выше остальных элементов */
    left: 0;
    top: 0;
    width: 100%; /* На весь экран */
    height: 100%;
    background-color: rgb(0,0,0); /* Цвет фона */
    background-color: rgba(0,0,0,0.4); /* Половинная прозрачность черного цвета */
}

.alertcontentModal {
    background-color: #fefefe;
    text-align: center;
    margin: 15% auto; /* Центрирование */
    padding: 5px;
    border: 1px solid #888;
    border-radius: 1rem;
    width: 35%; /* Ширина модального окна */
    height: 25%;
}

        /* Контейнер для модального окна */
        .custom-modal {
            display: none; /* Изначально скрыто */
            position: fixed;
            top: 0;
            right: 0;
            bottom: 0;
            left: 0;
            background-color: rgba(0, 0, 0, 0.5); /* Полупрозрачная подложка */
            justify-content: center;
            align-items: center;
            z-index: 1000;
        }

        /* Само модальное окно */
        .custom-modal-content {
            background-color: white;
            max-width: 400px;
            padding: 20px;
            border-radius: 5px;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
        }

        /* Кнопка закрытия */
        .close-btn {
            cursor: pointer;
            float: right;
            font-size: 24px;
            line-height: 1;
            text-decoration: none;
            color: black;
        }